/* pages/city/index.wxss */
.city-page {
  .diy-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;

    .del {
      font-size: 26rpx;
      color: gray;
    }
  }

  .search_header {
    background-color: #F6F6F6;
    display: flex;
    padding-top: 28rpx;
    justify-content: center;

    &-n {
      width: 710rpx;
      height: 76rpx;
      background: #FFFFFF;
      border-radius: 38rpx;
      display: flex;
      align-items: center;
      padding: 0 20rpx;
      box-sizing: border-box;

      .input-placeholder {
        font-size: 28rpx;
        font-family: PingFang SC-Medium, PingFang SC;
        color: #333333;
        font-weight: bold;
      }

      input {
        margin-left: 15rpx;
        flex: 1;
        font-size: 28rpx;
        font-weight: bold;
        font-family: PingFang SC-Medium, PingFang SC;
        color: #333333;
      }
    }
  }


  .search_content {
    background-color: #FFFFFF;
    margin-top: 28rpx;
    min-height: calc(100vh - 76rpx - 28rpx - 28rpx);
  }

  .search_item {
    width: 710rpx;
    margin: 0 auto;
    height: 90rpx;
    display: flex;
    align-items: center;

    font-size: 26rpx;
    color: #333333;

    border-bottom: 1rpx solid #f2f2f2;
  }

  .curren-cell {
    display: flex;
    align-items: center;
    padding: 12rpx 24rpx 24rpx 24rpx;

    .label {
      font-size: 31rpx;
      font-weight: bold;
    }

    .cu-btn {
      margin-left: 24rpx;
      background-color: var(--td-brand-color);
      color: #fff;
    }
  }

  .history {
    background-color: #F6F6F6;
    padding: 24rpx 24rpx 0 24rpx;

    .list {
      margin-top: 24rpx;
      display: flex;
      flex-wrap: wrap;
      gap: 20rpx;

      .cu-btn {
        background-color: #fff;
        font-weight: 400;
      }
    }
  }

  .guide {
    height: 30rpx;
    background-color: #F6F6F6;
  }

  .title {
    margin-top: 20rpx;
    font-size: 31rpx;
    font-weight: bold;
    padding: 0 24rpx;
    display: flex;
    align-items: center;

    .icon {
      padding: 0 10rpx;
    }

    .active {
      color: var(--td-brand-color);
    }
  }

  .citys {
    padding: 24rpx;

    .city {
      display: flex;

      &:not(:first-child) {
        margin-top: 24rpx;
      }

      .en {
        width: 50rpx;
        font-weight: bold;
        font-size: 30rpx;
        line-height: 55rpx;
      }

      .list {
        flex: 1;
        margin-left: 10rpx;
        display: flex;
        flex-wrap: wrap;
        gap: 20rpx 12rpx;

        .cu-btn {
          min-width: 200rpx;
          padding: 10rpx 12rpx;
          color: #333;
          font-weight: 400;

          &-active {
            background-color: var(--td-brand-color);
            color: #fff;
          }
        }
      }
    }
  }
}